<#include "/WEB-INF/admin/app/common/_public.html" />
<div class="bjui-pageHeader" style="background:#FFF;">
    <div class="office">
        <ul class="offbtn">
            <li> <a id="user_edit_save" data-toggle="submitform" data-id="user_navtab_add" >
                <span><i class="fa fa-save"></i></span>保存</a>
            </li>
            <li> <a id="user_refresh" data-toggle="reloadsearch" data-target="#bjui-pageContent" >
                <span><i class="fa fa-refresh"></i></span>刷新</a>
            </li>
        </ul>
    </div>
</div>
    <div class="bjui-pageContent">
        <form action="${ctx }/security/user/save" id="j_custom_form" data-toggle="validate" data-alertmsg="true" data-isrefsh="false">
            <div style="margin:15px auto 0; width:800px;">
                <fieldset>
                    <legend>
                        <h3 class="listtitle">员工信息：</h3>
                        <input type="hidden" name="user.id" value="${user.id!}"/>
                    </legend>
                    <table class="table table-condensed" width="100%">
                        <tbody>
                        <tr>
                            <td class="right"><span style="color: red;">*</span>账号：</td>
                            <td class="left" >
                                <input name="user.username" type="text" data-rule="required" value="${user.name?default('')}" size="20" />
                            </td>
                            <td class="right">员工工号：</td>
                            <td class="left" >
                                <input name="user.employeeid" type="text"  value="${user.name?default('')}" size="20" />
                            </td>
                        </tr>
                        <tr>
                            <td class="right"><span style="color: red;">*</span>姓名：</td>
                            <td class="left" >
                                <input name="user.fullname" type="text" data-rule="required" value="${user.fullname?default('')}" size="20" />
                            </td>
                            <td class="right">职位：</td>
                            <td class="left" >
                                <input name="user.orgName" type="text"  value="${user.name?default('')}" size="20" />
                            </td>
                        </tr>
                        <tr>
                            <td class="right"><span style="color: red;">*</span>密码：</td>
                            <td class="left" >
                                <input name="user.aaa" type="text"  data-rule="required,digits"  value="${user.plainPassword?default('')}"   size="20" />

                            </td>
                            <td class="right">分机号码：</td>
                            <td class="left" >
                                <input name="user.bbb" type="text"  value="${user.name?default('')}" size="20" />
                            </td>
                        </tr>
                        <tr>
                            <td class="right"><span style="color: red;">*</span>确认密码：</td>
                            <td class="left" >
                                <input name="user.passwordConfirm" type="text" data-rule="required" value="${user.plainPassword?default('')}" size="20" />
                            </td>
                            <td class="right">手机号码：</td>
                            <td class="left" >
                                <input name="user.telephone" type="text"  value="${user.name?default('')}" size="20" />
                            </td>
                        </tr>
                        <tr>
                            <td class="right">
                                <span>邮箱：</span>
                            </td>
                            <td class="left" >
                                <input type="text" class="input_240" id="email" name="user.email"
                                       value="${user.email!}"  size="20"/>
                            </td>
                            <td class="right">
                                <span>部门：</span>
                            </td>
                            <td class="left" >
                                <input type="text" data-toggle="lookup" size="20"/>
                            </td>
                        </tr>
                        <!--<tr>-->
                            <!--<td class="right">-->
                                <!--<span>性别：</span>-->
                            <!--</td>-->
                            <!--<td class="left" colspan="3">-->
                                <!--<div data-toggle="icheck" class="make-switch"data-on-label="男" data-off-label="女">-->
                                    <!--<input  name="sex" type="checkbox" configName="sex" value="<#if user.sex??>user.sex <#else> 1 </#if>"/>-->
                                <!--</div>-->
                            <!--</td>-->
                        <!--</tr>-->



                    </table>
                </fieldset>


            </div>
        </form>
    </div>
    <div class="bjui-pageFooter">
        <ul>
            <li>
                <button type="button" class="btn-close closecutab" data-icon="close">关闭</button>
            </li>
            <li>
                <button type="submit" class="btn-default" data-icon="save">保存</button>
            </li>
        </ul>
    </div>




